﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LocalServerApp.RemoteServerService;

namespace LocalServerApp
{
    interface IDao
    {
        List<Hanger> getForgottenClothes();
        
        void endSession();

        void startSession();

        bool isInWardRobe(string cpr);

        int depositClothes(string name, string adress, string zipcode, string cpr, bool? male, string birthdate);

        List<int> getClothesFromPerson(string hashIdentifier);

        void withdrawClothes(int hangerNo);

        void cancelDepositClothes(int hangerNo);

        List<Person> searchPersonsInWardrobe(string name, string CPR, string adress, string zipcode, string hangerNo);

        string getCustomerID();

        void setLastRemoteConnectionDate(DateTime date);

        DateTime getLastRemoteConnection();

        int getNumberOfHangers();

        void setNumberOfHangers(int numberOfHangers);

        Dictionary<int, Person> GetDepositedClothes();

        List<LogEntry> getLogEntries();

        void cleanLogs();
    }
}
